package com.dk.service;

import com.dk.model.CraftConstitute;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dk.vo.CraftConstituteVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wbh
 * @since 2023-03-20
 */
public interface CraftConstituteService extends IService<CraftConstitute> {

    List<CraftConstituteVO> getInfoList(String craftRouteId);

    void insertInfoCraftConstitute(CraftConstituteVO craftConstituteVO);

    CraftConstituteVO getInfoCraftConstituteById(Integer id);

    void updateInfoCraftConstituteById(CraftConstituteVO craftConstituteVO);

    void deleteInfoCraftConstituteById(Integer id);

    void deleteInfoCraftConstituteByCraftRouteId(String craftRouteId);

    List<CraftConstitute>  getInfoCraftConstituteByRouteId(String craftRouteId);
}
